package cn.lyq.card.ui.qualified

import cn.lyq.card.R
import cn.lyq.card.data.model.CashBackDetailInfo
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder


class QualifiedStoreAdapter : BaseQuickAdapter<CashBackDetailInfo, BaseViewHolder>
    (R.layout.item_store, mutableListOf()), LoadMoreModule {

    override fun convert(holder: BaseViewHolder, item: CashBackDetailInfo) {
        holder.setText(R.id.tvStoreName, item.merchantName)
        holder.setText(R.id.tvDeviceType, "机具类型：${item.title}")
        holder.setText(R.id.tvSn, "SN：${item.posSn}")
    }
}